package com.whacos.modules.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whacos.modules.oa.entity.NotifyRecord;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xiongdun
 * @description 通知通告发送记录
 * @since 2018/11/17 17:11
 */
@Service
public interface NotifyRecordService extends IService<NotifyRecord> {

    /**
     * 更改阅读状态
     *
     * @return
     */
    boolean changeRead(Long id);

    boolean batchChangeRead(List<Long> idList);
}
